package file;

import java.io.FileNotFoundException;
import java.io.PrintWriter;
import java.io.UnsupportedEncodingException;

public class PWDemo1 {
    public static void main(String[] args) throws FileNotFoundException, UnsupportedEncodingException {
        PrintWriter pw = new PrintWriter("pw.txt","utf-8");
        pw.println("一闪一闪亮晶晶，满天都是小星星");
        pw.println("大河向东流呀，天上的星星参北斗");
        System.out.println("写出完毕");
        pw.close();
    }
}
